package com.tedu.swaggerdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class AdminController {
    @RequestMapping("/login")
    public String login(String username,String password){
        if("a".equals(username) && "a".equals(password)){
            return "成功";
        }else {
            return "失败";
        }
    }
}
